﻿using LForum.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Layans.Data
{
    public class UsersPostComment
    {

        public int Id { get; set; }

        public ExternalLoginConfirmationViewModel UserName { get; set; }

        public Avatar Avatar { get; set; }

        [Required]
        [StringLength(5000, MinimumLength = 2, ErrorMessage = "полето трябва да е минимум 2 и максимум 5000 символа")]
        public string Comment { get; set; }

        public DateTime DateTime { get; set; }

        public UsersPost PostComment { get; set; }
    }
}
